package com.example.demo.service;


import com.example.demo.common.pojo.request.AddBlogParam;
import com.example.demo.common.pojo.request.UpBlogParam;
import com.example.demo.common.response.BlogInfoResponse;

import java.util.List;

public interface BlogService {
    List<BlogInfoResponse> getList();

    BlogInfoResponse getBlogDetail(Integer blogId);

    Boolean addBlog(AddBlogParam param);

    Boolean updateBlog(UpBlogParam param);

    Boolean deleteBlog(Integer blogId);
}
